package com.talent.study.disruptor.height;

import com.lmax.disruptor.EventHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: hszhou
 * @Date: 2025/4/19 11:56
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@Slf4j
public class Handler3 implements EventHandler<Trade> {
    @Override
    public void onEvent(Trade event, long sequence, boolean endOfBatch) throws Exception {

        log.info("handler 3 name: [{}],ID: [{}]",event.getName(),event.getId());
    }
}
